<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="contextPath" value="${pageContext.servletContext.contextPath}"></c:set>
 
<div align="center"><h3>添加图书</h3></div>

<center>
<form class="form-horizontal" role="form" action="${contextPath}/admin/addbook.do" method="post" enctype="multipart/form-data">
  <div class="form-group">
    <label for="ib" class="col-sm-2 control-label">编号：</label>
    <div class="col-sm-8">
      <input type="text" class="form-control" id="ib" name="isbn" style="border-weight: 70px; width: 200px;">
    </div>
  </div>
  
   <div class="form-group">
    <label for="tt" class="col-sm-2 control-label">名字：</label>
    <div class="col-sm-8">
      <input type="text" class="form-control" id="tt" name="titles" style="border-weight: 70px; width: 200px;">
    </div>
  </div>
  
     <div class="form-group">
    <label for="en" class="col-sm-2 control-label">版本号：</label>
    <div class="col-sm-8">
      <input type="text" class="form-control" id="en" name="editionNumber" style="border-weight: 70px; width: 200px;">
    </div>
  </div>
  
   <div class="form-group">
    <label for="pi" class="col-sm-2 control-label">版权：</label>
    <div class="col-sm-8">
      <input type="text" class="form-control" id="cr" name="copyright" style="border-weight: 70px; width: 200px;">
    </div>
  </div>
  
     <div class="form-group">
    <label for="pi" class="col-sm-2 control-label">出版商号：</label>
    <div class="col-sm-8">
      <input type="text" class="form-control" id="pi" name="publisherId" style="border-weight: 70px; width: 200px;">
    </div>
  </div>
  
     <div class="form-group">
    <label for="pr" class="col-sm-2 control-label">价格：</label>
    <div class="col-sm-8">
      <input type="text" class="form-control" id="pr" name="price" style="border-weight: 70px; width: 200px;">
    </div>
  </div>
  
    <div class="form-group">
    <label for="if">图书图片：</label><br>
    <input type="file" id="if" name="imageFile" >
    </div>
  
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <button type="submit" class="btn btn-default">提交</button>
    </div>
  </div>
</form>
</center>